﻿using GalaSoft.MvvmLight;
using NaireSystem.Api;
using NaireSystem.Api.VO;
using NaireSystem.ViewModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NaireSystem.Views.UserManager
{
    public class ViewModelUserInfo : ViewModelBase
    {
    }
    public class UserInfoModel : VMBase
    {
        public UserInfoVo Data { get; }

        public UserInfoModel(UserInfoVo x)
        {
            this.Data = x;
        }

        private string _UserName;
        public string UserName { get => _UserName; set => Set("UserName", ref _UserName, value); }

        private string _UserId;
        public string UserId { get => _UserId; set => Set("UserId", ref _UserId, value); }

        private int? _UserAge;
        public int? UserAge { get => _UserAge; set => Set("UserAge", ref _UserAge, value); }

        private string _userEducation;
        public string userEducation { get => _userEducation; set => Set("userEducation", ref _userEducation, value); }

        private string _UserMajor;
        public string UserMajor { get => _UserMajor; set => Set("UserMajor", ref _UserMajor, value); }

        private string _UserTitle;
        public string UserTitle { get => _UserTitle; set => Set("UserTitle", ref _UserTitle, value); }

        private string _UserLevel;
        public string UserLevel { get => _UserLevel; set => Set("UserLevel", ref _UserLevel, value); }

        private string _UserStartWorkTime;
        public string UserStartWorkTime { get => _UserStartWorkTime; set => Set("UserStartWorkTime", ref _UserStartWorkTime, value); }

        private double _WorkYear;
        private UserApi.UserInfoWithDept x;

        public double WorkYear { get => _WorkYear; set => Set("WorkYear", ref _WorkYear, value); }

        private string _DeptName;
        public string DeptName { get => _DeptName; set => Set("DeptName", ref _DeptName, value); }



    }
}
